﻿var adServices = angular.module('adServices', ['ngResource']);

adServices.factory('Groups', ['$resource',
  function ($resource) {
      return $resource('/Api/ad', {}, {
          query: { method: 'GET', params: {}, isArray: true }
      });
  }]);